
//
//  PopViewListController.m
//  XKStudyDemo
//
//  Created by xukai on 2017/11/30.
//  Copyright © 2017年 xukai. All rights reserved.
//

#import "PopViewListController.h"
#import "PopQQMessageView.h"
#import "PopStatusBarMessageView.h"
#import "PopAletView.h"

@interface PopViewListController ()

@end

@implementation PopViewListController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSDictionary *dic = @{@"title" : @"QQ导航栏弹出视图", @"className" : @""};
    NSDictionary *dic1 = @{@"title" : @"自定义AletView", @"className" : @""};
    NSDictionary *dic2 = @{@"title" : @"状态栏提示", @"className" : @""};
    NSDictionary *dic3 = @{@"title" : @"仿微信提示", @"className" : @""};
    NSDictionary *dic4 = @{@"title" : @"仿微信提示(tableView)", @"className" : @""};
    NSDictionary *dic5 = @{@"title" : @"简单屏幕提示", @"className" : @""};


    self.dataSoureArray = @[dic,dic1,dic2,dic3,dic4,dic5];
    
}


#pragma mark - Table view data source
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return self.dataSoureArray.count;
}

-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    switch (indexPath.row) {
        case 0:
        {
            [PopQQMessageView showMessageWith:@"QQ导航栏弹出视图"];
        }
            break;
        case 1:
        {
            PopAletView *aletView = [[PopAletView alloc] initWithTitle:@"Title" detail:@"自定义AletView" callBlock:^(NSInteger index) {
                
            }];
            [aletView show];
        }
            break;
        case 2:
        {
            [PopStatusBarMessageView showMessage:@"状态栏提示"];

        }
            break;
        case 3:
        {
            
        }
            break;
        case 4:
        {
            
        }
            break;
        case 5:
        {
            
        }
            break;
            
        default:
            break;
    }
}



@end
